.class Lrexsee/natives/ViewStyle$10;
.super Landroid/widget/GridView;
.source "ViewStyle.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/ViewStyle;->create(Lrexsee/core/browser/Browser;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Lrexsee/natives/RexseeJavaView;)Lrexsee/natives/ViewTag;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field mThis:Landroid/widget/GridView;

.field private final synthetic val$browser:Lrexsee/core/browser/Browser;


# direct methods
.method constructor <init>(Landroid/content/Context;Lrexsee/core/browser/Browser;)V
    .locals 0
    .param p1, "$anonymous0"    # Landroid/content/Context;

    .prologue
    .line 1
    iput-object p2, p0, Lrexsee/natives/ViewStyle$10;->val$browser:Lrexsee/core/browser/Browser;

    .line 275
    invoke-direct {p0, p1}, Landroid/widget/GridView;-><init>(Landroid/content/Context;)V

    .line 276
    iput-object p0, p0, Lrexsee/natives/ViewStyle$10;->mThis:Landroid/widget/GridView;

    return-void
.end method


# virtual methods
.method public getSolidColor()I
    .locals 4

    .prologue
    const/high16 v3, -0x1000000

    .line 290
    :try_start_0
    iget-object v2, p0, Lrexsee/natives/ViewStyle$10;->mThis:Landroid/widget/GridView;

    invoke-virtual {v2}, Landroid/widget/GridView;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrexsee/natives/ViewTag;

    .line 291
    .local v1, "viewTag":Lrexsee/natives/ViewTag;
    if-nez v1, :cond_0

    move v2, v3

    .line 293
    .end local v1    # "viewTag":Lrexsee/natives/ViewTag;
    :goto_0
    return v2

    .line 291
    .restart local v1    # "viewTag":Lrexsee/natives/ViewTag;
    :cond_0
    iget-object v2, v1, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v2, v2, Lrexsee/core/style/StyleSheet;->fading_edge_y_color:Ljava/lang/String;

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v2

    goto :goto_0

    .line 292
    .end local v1    # "viewTag":Lrexsee/natives/ViewTag;
    :catch_0
    move-exception v2

    move-object v0, v2

    .local v0, "e":Ljava/lang/Exception;
    move v2, v3

    .line 293
    goto :goto_0
.end method

.method protected onScrollChanged(IIII)V
    .locals 6
    .param p1, "l"    # I
    .param p2, "t"    # I
    .param p3, "oldl"    # I
    .param p4, "oldt"    # I

    .prologue
    .line 280
    :try_start_0
    iget-object v1, p0, Lrexsee/natives/ViewStyle$10;->mThis:Landroid/widget/GridView;

    invoke-virtual {v1}, Landroid/widget/GridView;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/natives/ViewTag;

    .line 281
    .local v0, "viewTag":Lrexsee/natives/ViewTag;
    if-eqz v0, :cond_0

    iget-object v1, v0, Lrexsee/natives/ViewTag;->style:Lrexsee/core/style/StyleSheet;

    iget-object v1, v1, Lrexsee/core/style/StyleSheet;->event_scroll:Ljava/lang/String;

    const-string v2, "true"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 282
    iget-object v1, p0, Lrexsee/natives/ViewStyle$10;->val$browser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v2, "onJavaViewScroll"

    const/4 v3, 0x5

    new-array v3, v3, [Ljava/lang/String;

    const/4 v4, 0x0

    iget-object v5, v0, Lrexsee/natives/ViewTag;->id:Ljava/lang/String;

    aput-object v5, v3, v4

    const/4 v4, 0x1

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v3, v4

    const/4 v4, 0x2

    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v3, v4

    const/4 v4, 0x3

    invoke-static {p3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v3, v4

    const/4 v4, 0x4

    invoke-static {p4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v3, v4

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 286
    .end local v0    # "viewTag":Lrexsee/natives/ViewTag;
    :cond_0
    :goto_0
    return-void

    .line 284
    :catch_0
    move-exception v1

    goto :goto_0
.end method
